Auto merge of #3259 - alexcrichton:more-ro, r=brson
authorbors <bors@rust-lang.org>
Tue, 8 Nov 2016 14:47:48 +0000 (06:47 -0800)
committerGitHub <noreply@github.com>
Tue, 8 Nov 2016 14:47:48 +0000 (06:47 -0800)
commit0c155a47d61b37425e9c28f76fddf7bc2cb7df08
treea10778aded11043ad0cb4193729686130d59e413
parenta8510bb2ef4c5623972b14700bf0b64d628ba42b
parent27e439c588dfa6d80f03f5d792f76ec7e1621df7
Auto merge of #3259 - alexcrichton:more-ro, r=brson

Open crate files readonly first

This allows Cargo to work with read-only `CARGO_HOME` directories where the
cache was prepared ahead of time.

Closes #3256